2.          REG.EXE

     Windows 2000  REG.EXE     Support tools (   REG.EXE   Windows XP -      \winnt\system32).    .         :

      ,  3.0
(C)  , 1981-2001.   

REG <> [ ]

<> == [ QUERY | ADD | DELETE | COPY |
SAVE | LOAD | UNLOAD | RESTORE |
COMPARE | EXPORT | IMPORT ]

 : (  REG COMPARE)
0 - 
1 -  

      :
REG /?

:

REG QUERY /?
REG ADD /?
REG DELETE /?
REG COPY /?
REG SAVE /?
REG RESTORE /?
REG LOAD /?
REG UNLOAD /?
REG COMPARE /?
REG EXPORT /?
REG IMPORT /?



     REG.EXE SAVE,   - REG.EXE RESTORE

   

REG.EXE SAVE /?
REG SAVE <> < >

<>       : \
<>  . : [ HKLM | HKCU | HKCR | HKU | HKCC ]. 
<>         . 
< >     .    , 
     . 

: 
REG SAVE HKLM\Software\MyCo\MyApp AppBkUp.hiv
  MyApp   AppBkUp.hiv   

     REG SAVE  REG RESTORE      . ,   .      Windows 2000                  .          (REG SAVE)        ,  .. HKLM\software, HKLM\system  .. ,    , , HKLM\system,      ,     ,     ,    REG RESTORE   . 

   SYSTEM:
REG SAVE HKLM\SYSTEM system.hiv
   SOFTWARE:
REG SAVE HKLM\SOFTWARE software.hiv
   DEFAULT:
reg save HKU\.Default default.hiv

  ,  REG.EXE    .

               %SystemRoot%\system32\config. 